package com.kaoshi.myweb.common.exception;

import org.springframework.core.NestedRuntimeException;


public class AppException extends NestedRuntimeException {
    /**
     * 
     */
    private static final long serialVersionUID = -1765319009937047405L;


    /**
     * 构造函数
     * @param s String
     */
    public AppException(String s) {
        super(s);
    }

    /**
     * 构造函数
     * @param s String
     * @param ex Throwable
     */
    public AppException(String s, Throwable ex) {
        super(s, ex);
    }

    /**
     * 构造函数
     * @param ex Throwable
     */
    public AppException(Throwable ex) {
        super(ex.getMessage(),ex);
    }
}
